<div class="modal fade" id="modal-batchImport" style="">
    <div class="modal-dialog">
        <form action="{{url('user/mine/readPatentExcel')}}" method="post" enctype="multipart/form-data">
            {{ csrf_field() }}
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span></button>
                    <h3 class="modal-title" style="text-align: center">批量导入</h3>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-2 col-md-offset-2">
                            <div class="input-group margin" style="width: 100%;margin-left: 0px;margin-top: 2%">
                                <input type="text" class="form-control" size="20" name="upload_file" id="upload_file"
                                       style="border-radius:5px 0 0 5px" required disabled onchange="fileSelected();">
                    <span class="input-group-btn">
                      <button type="button" class="btn btn-info btn-flat" onclick="path.click()"
                              style="background: #0080ff;border-radius:0 5px 5px 0">批量导入
                      </button>
                        <input type="file" id="path" name="file" style="display:none"
                               onchange="upload_file.value=this.value" required>
                    </span>
                            </div>
                        </div>
                        <div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
                            <a href="{{asset('Uploads/template/patent.xlsx')}}">
                                <button type="button" class="btn btn-info btn-flat"
                                        style="background: #0080ff;width: 100%;margin-left: 0px;margin-top: 0.4vw;padding-left: 5px;padding-right: 5px;border-radius:5px;font-size: 13px">
                                    下载模板
                                </button>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="row">
                        <div class="col-lg-8 col-md-8 col-lg-offset-2 col-md-offset-2 ">
                            <button type="submit" class="btn btn-primary" style="background-color: #0080ff;border: #0080ff;width: 100%">确定
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

